<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>JSP - Hello World</title>
</head>
<body>
<%--超链接请求方式--%>
<a href="login?username=张三&userpwd=123456">注册</a>
<%--form表单的 请求方式--%>
<form action="show" method="post">
    <div>
        用户名：<input type="text" name="username">
    </div>
    <div>
        密码：<input type="password" name="userpwd">
    </div>
    <div>
        <button>登录</button>
    </div>
</form>
</body>
</html>